import { Module } from '@nestjs/common';
import { RoleService } from './role.service';
import { RoleController } from './role.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Role } from './entities/role.entity';
import { Auth } from './entities/auth.entity';
import { RoleAdmin } from 'src/admin/entities/roleAdmin.entity';
import { Menu } from 'src/menu/entities/menu.entity';
import { Action } from 'src/menu/entities/action.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([Role, Auth, RoleAdmin, Menu, Action]),
  ],
  controllers: [RoleController],
  providers: [RoleService],
  exports: [RoleService]
})
export class RoleModule {}
